// const http = require('http');
// http.createServer(function (request, response) {
//   response.writeHead(200, {'Content-Type': 'text/plain'});
//   response.end('Hello World');
// }).listen(3000);

// console.log('Server running at http://127.0.0.1:3000/');

const KKB = require("./kkb");
const app = new KKB();

// app.use((req, res) => {
//   res.writeHead(200);
//   res.end("Hi Kaikeba 666~");
// });

app.use(ctx => {
  ctx.body = 'hehe ...'
});

app.listen(3000, () => {
  console.log('监听端口3000');
});
